from pydantic import BaseModel, Field
from typing import Optional


from mldong.base import BasePageParam


class UserRoleParam(BaseModel):
    id: Optional[str] = Field(None, title="主键", description="主键")

    
    
    userId: str = Field(..., title="用户ID", description="用户ID")
    
    roleId: str = Field(..., title="角色ID", description="角色ID")
    


class UserRolePageParam(BasePageParam):
    pass